package com.atguigu.stream;

import com.atguigu.java2.Teacher;
import com.atguigu.java2.Teacher;

import java.util.ArrayList;
import java.util.List;

/**
 * 提供用于测试的数据
 *
 * @author shkstart 邮箱：shkstart@126.com
 */
public class TeacherData {

    public static List<Teacher> getTeachersWithSameCupNo() {
        List<Teacher> list = new ArrayList<>();

        list.add(new Teacher("1", "0.8", "1"));
        list.add(new Teacher("1", "1.0", "2"));
        list.add(new Teacher("1", "1.2", "3"));
        list.add(new Teacher("1", "1.0", "1"));
        return list;
    }

    public static List<Teacher> getTeachersWithDifferentCupNo() {
        List<Teacher> list = new ArrayList<>();
        list.add(new Teacher("1", "0.8", "2"));
        list.add(new Teacher("2", "0.8", "1"));
        list.add(new Teacher("3", "1.2", "3"));
        //list.add(new Teacher("4", "1.2", "1"));
        list.add(new Teacher("1", "1.0", "1"));
        list.add(new Teacher("2", "1.0", "2"));
        list.add(new Teacher("3", "1.0", "3"));
        //list.add(new Teacher("4", "0.8", "2"));
        //list.add(new Teacher("1", "1.0", "3"));
        //list.add(new Teacher("2", "1.0", "2"));
        //list.add(new Teacher("3", "1.0", "1"));
        //list.add(new Teacher("4", "0.8", "4"));
        return list;
    }

}
